import request from '@/utils/request'

// 查询账户信息列表
export function listFundAccount(query) {
  return request({
    url: '/account/fundAccount/list',
    method: 'get',
    params: query
  })
}

// 查询账户信息详细
export function getFundAccount(id) {
  return request({
    url: '/account/fundAccount/' + id,
    method: 'get'
  })
}

// 保存账户信息
export function saveFundAccount(data) {
  return request({
    url: '/account/fundAccount/save',
    method: 'post',
    data: data
  })
}

// 删除账户信息
export function delFundAccount(id) {
  return request({
    url: '/account/fundAccount/' + id,
    method: 'delete'
  })
}

// 导出账户信息
export function exportFundAccount(query) {
  return request({
    url: '/account/fundAccount/export',
    method: 'get',
    params: query
  })
}
